package com.trade.dao.impl;

import java.util.List;

import com.trade.common.dao.impl.GenericDao;
import com.trade.dao.ICategoryDao;
import com.trade.model.Category;

public class CategroyDaoImpl extends GenericDao<Category, Long> implements ICategoryDao {

	@Override
	public List<Category> getAllCategories() {
		String sql = "from Category";
		return this.find(sql);
	}

}
